package com.leon.alishop.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.leon.alishop.model.GoodsAttrVal;

public interface GoodsAttrValDao {

	public GoodsAttrVal selectById(Integer id);

	public List<GoodsAttrVal> selectByIds(Integer[] ids);
	
	public List<GoodsAttrVal> selectByGoodsId(@Param("goodsId") Long goodsId);
	
	public List<GoodsAttrVal> selectByGoodsIds(@Param("goodsIds") Long[] goodsIds);
	
	public int insertSelective(GoodsAttrVal goodsAttrVal);

	public int updateByIdSelective(GoodsAttrVal goodsAttrVal);
	
}
